<?php
include( 'init.php' );
$c = new WeiboClient ( WB_AKEY, WB_SKEY, $_SESSION ['last_key'] ['oauth_token'], $_SESSION ['last_key'] ['oauth_token_secret'] );
$UserInfo = $c->user_info (); // done
$startindex = $_GET['startindex']?$_GET['startindex']:0;
$reqnum = 30;
$friends_idollist  = $c->friends_idollist($startindex,$reqnum); // done
include './templates/idollist.php';